<%= render :partial => "head", :locals => { :user => @user }%>

<%= render :partial => "main_nav", :locals => { :user => @user }%>

<div class="gray-box float-left margin-bottom-10" style="width: 600px;">
  <div class="float-left gray-box" style="width: 220px;">
    <span class="float-left" style="padding:5px;margin-bottom:15px;">
      <%= xn_profile_pic_with_id @couple.first_user_id.to_s , {:size => "normal"} %>
      <p style="text-align: center;">
      <%= xn_name_with_id @couple.first_user_id.to_s %>
      </p>
    </span> 
    <span class="float-left" style="padding:5px;margin-bottom:15px;">
      <%= xn_profile_pic_with_id @couple.second_user_id.to_s , {:size => "normal"} %>
      <p style="text-align: center;">
      <%= xn_name_with_id @couple.second_user_id.to_s %>
      </p>
    </span> 
  </div>
  
  <div  class="float-left" style="padding:5px;margin-bottom:15px;">
    <h3>参与投票的童鞋有：</h3>
    <% @raters.each do |rater| %>
      <% if rater.rater_id %>
        <span class="float-left" style="margin:5px;">
          <%= xn_profile_pic_with_id rater.rater_id.to_s , {:size => "tiny", :linked => "true"} %>
          <p class="small-font" style="text-align: center;">给了<%= rater.rating %>分</p>
        </span>
      <% end %>
    <% end %>
  </div>
</div>

